package com.xinqi.modules.stats.score.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinqi.common.mybatis.data.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * 总成绩课程成绩项目配置表实体层
 *
 * @author: system
 * @date: 2023/03/26
 */
@Setter
@Getter
@TableName("co_course_total_score_content")
public class CourseTotalScoreContentEntity extends BaseEntity {

    /** 课程id */
    @TableField(value = "course_id")
    private Long courseId;
    /** 班级id */
    @TableField(value = "class_id")
    private Long classId;
    /** 业务类型(1互动课件成绩,2资料成绩,3作业成绩,4测评成绩,5讨论成绩,6互动答题成绩,10考勤成绩) */
    @TableField(value = "type")
    private Integer type;
    /** 业务类型名称 */
    @TableField(value = "name")
    private String name;
    /** 是否对学生显示成绩(0不显示,1显示) */
    @TableField(value = "is_show_student")
    private Integer isShowStudent;
    /** 是否显示分数等级(0不显示,1显示) */
    @TableField(value = "is_user_level_show")
    private Integer isUserLevelShow;
    /** 总分权重 */
    @TableField(value = "weight")
    private BigDecimal weight;
    /** 预设总分 */
    @TableField(value = "full_score")
    private BigDecimal fullScore;
    /** 考勤满分值 */
    @TableField(value = "attendance_count")
    private Integer attendanceCount;
    /** 是否设置(0未设置,1已设置) */
    @TableField(value = "status")
    private Integer status;
    /** 排序 */
    @TableField(value = "sort")
    private Integer sort;

}
